<!doctype html>
<head>
        <meta name="keywords" content="羽毛球，球会，球场，教练">
		<meta name="charset" content="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		
		<script type="text/javascript" src="__PUBLIC__/JS/HomePage/jquery.min.js"></script>
		<script type="text/javascript" src="__PUBLIC__/JS/HomePage/bootstrap.min.js"></script>
		<script type="text/javascript" src="__PUBLIC__/JS/HomePage/md5.js"></script>
		<script type="text/javascript" src="__PUBLIC__/JS/jquery-form.js"></script>
</head>		


		<div class="content content_hastab">	
		<div><span >球会编号: </span><span id="id"></span></div>
		<div><span >球会名称: </span><span id="name"></span></div>
		<div><span >球会最大人数: </span><span id="club_number_count"></span></div>
		<div><span >球会类型: </span><span id="club_kind"></span></div>
		<div><span >球会介绍: </span<div>
		<div><textarea id="introduction" name="introduction" rows="4" cols="20" ></textarea></div>
		<div><span >球会图片: </span></div>
		<div><img id="club_picture" src="" height="150px" width="200px"></img></div>
		<div><span >球会状态: </span><span id="club_status"></span></div>
	    </div>	


<script type="text/javascript">
       
       $(function(){
		$.post('__URL__/clubDetail',{'club_id':parent.selected},function(resultList){ 	
             
			  clubJson=resultList.result;
			   
			  document.getElementById("id").innerHTML=clubJson.id;
              document.getElementById("name").innerHTML=clubJson.name;
			  document.getElementById("club_number_count").innerHTML=clubJson.club_number_count;
			
			  document.getElementById("introduction").innerHTML=clubJson.introduction;	  
			  document.getElementById("introduction").disabled = true;

			  document.getElementById("club_picture").src=clubJson.club_picture;
			  
			  switch(clubJson.club_status)
			  {
			     case "0":
				 document.getElementById("club_status").innerHTML="申请";
				 break;
				 case "1":
				 document.getElementById("club_status").innerHTML="正常";
				 break;
				 case "2":
				 document.getElementById("club_status").innerHTML="停止";
				 break;
			  }
			  switch(clubJson.club_kind)
			  {
			    case "0":
				 document.getElementById("club_kind").innerHTML="松散型";
				 break;
				 case "1":
				 document.getElementById("club_kind").innerHTML="紧密型";
			  }

			  
    	     },'json');  
			
		});
</script>